package cn.com.pet.common.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.pet.common.dao.RoomageMessageBoardMapper;
import cn.com.pet.common.entity.RoomageMessageBoard;
import cn.com.pet.common.service.RoomageMessageBoardService;
@Service("roomageMessageBoardService")
public class RoomageMessageBoardServiceImpl implements RoomageMessageBoardService {
	
	@Autowired
	RoomageMessageBoardMapper roomageMessageBoardMapper;

	@Override
	public List<RoomageMessageBoard> getRoomageMessageBoards(
			RoomageMessageBoard roomageMessageBoard) {
		// TODO Auto-generated method stub
		return roomageMessageBoardMapper.getRoomageMessageBoards(roomageMessageBoard);
	}

	@Override
	public void addRoomageMessageBoard(RoomageMessageBoard roomageMessageBoard) {
		// TODO Auto-generated method stub
		roomageMessageBoardMapper.addRoomageMessageBoard(roomageMessageBoard);
	}

	@Override
	public void updateRoomageMessageBoard(
			RoomageMessageBoard roomageMessageBoard) {
		// TODO Auto-generated method stub
		roomageMessageBoardMapper.updateRoomageMessageBoard(roomageMessageBoard);
	}
	
}
